package com.yexx.sc.microsvr.organization.service.impl;

import com.netflix.discovery.converters.Auto;
import com.yexx.sc.microsvr.organization.mapper.CityMapper;
import com.yexx.sc.microsvr.organization.service.CityService;
import com.yexx.sc.microsvrapi.domain.City;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class CityServiceImpl implements CityService {

    @Autowired
    private CityMapper cityMapper;

    public List<City> getList(){
        return cityMapper.list();
    }
}
